<hr style="clear: both;" />

<?php

/***

LZRoster: A roster for World of Warcraft.
Copyright (C) 2007  Emmanuel Cron

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

***/

require_once "class/Load.class.php";
require_once "class/Sql.class.php";
require_once "class/Memory.class.php";
require_once "class/Localization.class.php";
require_once "class/Revision.class.php";

$revision = Revision::GetInstance();
$localization = Localization::GetInstance();
$memory = Memory::GetInstance();

?>

<p id="foot">
	World of Warcraft&#8482; and Blizzard Entertainment&#174; are all trademarks or registered trademarks of
	Blizzard Entertainment in the United States and/or other countries. These terms and all related materials,
	logos, and images are copyright &#169; Blizzard Entertainment. This site is in no way associated with
	Blizzard Entertainment&#174;.<br />
	
	<?php
	if ( Sql::HasInstance() )
	{
		$sql = Sql::GetInstance();
		?>
			
			<img src="img/requetes.png" alt="" style="vertical-align: middle;" />
			<?php echo $sql->GetQueriesNumber(); ?> <?php echo $localization->Get('querie(s)'); ?>,
			<?php echo $sql->GetEntriesNumber(); ?> <?php echo $localization->Get('entries'); ?>
			
		<?php
	}
	
	if ( Load::HasInstance() )
	{
		$load = Load::GetInstance();
		?>
			
			<img src="img/exectime.png" alt="" style="vertical-align: middle;" />
			<?php echo $load->GetTime(); ?>s
		
		<?php
	}
	?>
	
	<img src="img/memory.png" alt="" style="vertical-align: middle;" />
	<?php echo $memory->GetMemoryUsage(); ?>MB
	
	<br />
	
	<?php echo $localization->Get('revision')." ".$revision->GetCurrentRevision(); ?>
	&#169; pb_ee1 2006-<?php echo date("Y"); ?><br />
	<a href="http://www.lzroster.com/"><?php echo $localization->Get('official website'); ?></a>
	
</p>